home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 January - Disc 2 / Macworld (1999-01) (Disk 2).dmg / Serious Demos / Symbolic Composer 4.2 / Environment / System / SYMBOL / Utilities / Diagnostic / diagnostic2 next >
Lisp/Scheme  |  1998-10-23  |  291b  |  9 lines

  1. diagnostic2 print-information
  2.  
  3. When adding your functions include diagnostic2 in the beginning of the function, and the system prints out information when it is executed. $cr$ equals newline.
  4.  
  5. (defun my-function (x)
  6.   (diagnostic2 "my-function " x $cr$)
  7.   (do-quietly
  8.      <function body>))
  9.